package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ActivityUserParam {
    /**
     * 用户id
     */
    @NotNull(message = "活动人员id不能为空")
    private Long userId;

    @NotBlank(message = "活动人员姓名不能为空")
    private String userName;
}
